<template>
	<view :style="{padding:`${$safeh}px 0rpx `}">
		<view class="myline"></view>
		<view class="infobox flex-between">
			<view class="flex-a-c">
				<image src="../../static/logo.png" class="avatar" mode=""></image>
				<view class="information u-m-l-20">
					<view class="u-font-bold u-font-36 u-m-b-10" >王企鹅</view>
					<text class="u-font-30" style="color: rgba(102, 102, 102, 1);" >
						手机号：15156089197
					</text>
				</view>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB'></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20" @click="$goTo('/pages/paipan/paipan')" >
			<view class="flex-a-c u-font-34">
				<image src="/static/phone.jpg" class="sameimg u-m-r-20" mode=""></image>
				<text>排盘</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB' ></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20">
			<view class="flex-a-c u-font-34">
				<image src="/static/phone.jpg" class="sameimg u-m-r-20" mode=""></image>
				<text>反馈问题</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB' ></u-icon>
		</view>
	
		<view class="flex-between samebox u-m-t-20" @click="$goTo('pages/my/myinfo')">
			<view class="flex-a-c u-font-34">
				<image src="/static/set.png" class="sameimg u-m-r-20" mode=""></image>
				<text>个人资料</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB'></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20">
			<view class="flex-a-c u-font-34">
				<image src="/static/set.png" class="sameimg u-m-r-20" mode=""></image>
				<text>大师资料</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB' ></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20">
			<view class="flex-a-c u-font-34">
				<image src="/static/set.png" class="sameimg u-m-r-20" mode=""></image>
				<text>实名认证</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB' ></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20">
			<view class="flex-a-c u-font-34">
				<image src="/static/set.png" class="sameimg u-m-r-20" mode=""></image>
				<text>切换账户</text>
			</view>
			<u-icon name='arrow-right'   color='#BBBBBB' ></u-icon>
		</view>
		<view class="flex-between samebox u-m-t-20">
			<view class="flex-a-c u-font-34">
				<image src="/static/set.png" class="sameimg u-m-r-20" mode=""></image>
				<text>退出登录</text>
			</view>
			<u-icon name='arrow-right'  color='#BBBBBB' ></u-icon>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			this.getinfo()
		},
		methods:{
			getinfo(){
				this.$getinfo().then(res=>{
					// if(res.data.code == -1){
					// 	this.$toast('请去登录~')
					// 	setTimeout(()=>{
					// 		uni.reLaunch({
					// 			url:'/pages/login/login'
					// 		})
					// 	},1000)
					// }
				})
			},
		}
	}
</script>

<style lang="scss">
.infobox{
	background-color: #fff;
	padding: 40rpx 20rpx 80rpx;
	.avatar{
		width: 130rpx;
		height: 130rpx;
	}
}
.samebox{
	padding: 30rpx 26rpx;
	background-color: #fff;
	.sameimg{
		width: 38rpx;
		height: 34rpx;
	}
}

</style>
